package com.haixiaoke.saas.repository.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 装修情况对象 base_decoration
 *
 * @author zhiping
 * @date 2023-04-06
 */
@Data
public class Decoration extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 装修情况id
     */
    private Long decorationId;

    /**
     * 装修情况
     */
    @NotNull(message = "装修情况不能为空")

    private String decorationName;

    /**
     * 排序
     */
    @NotNull(message = "排序值不能为空")
    private Long sort;

    /**
     * 逻辑删除(0:正常; 2:删除)
     */
    @JsonIgnore
    private Integer delFlag;


}